package org.x.user.vo;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Date;

@Data
public class RoleInfoVO {
    /**
     * "roleId": 201,
     *         "name": "高级律师",
     *         "code": "SENIOR_LAWYER",
     *         "dataScope": 2,
     *         "description": "拥有案件管理高级权限",
     *         "createTime": "2023-06-10 14:30:00",
     *         "aclCount": 12
     */
    @NotNull(message = "roleId不能为空")
    private Long roleId;
    private String name;
    private String code;
    private Integer dataScope;
    private String description;
    private Date createTime;
    private Long aclCount;
}
